Skip to content

Remove workaround for modal closing in Firefox#333

Open
adamwoodnz wants to merge 1 commit intotrunkfrom
update/180-reauth-modal-firefox
Open

Remove workaround for modal closing in Firefox#333
adamwoodnz wants to merge 1 commit intotrunkfrom
update/180-reauth-modal-firefox

Conversation

@adamwoodnz
Copy link
Copy Markdown
Contributor

See #180

Removed temporary workaround for modal closing behavior in Firefox, now that WordPress/gutenberg#51602 is fixed.

Workaround was added in #185

Removed temporary workaround for modal closing behavior in Firefox, added in #185
@adamwoodnz adamwoodnz self-assigned this Feb 11, 2026
@adamwoodnz adamwoodnz requested review from Copilot and dd32 February 11, 2026 00:36
@adamwoodnz adamwoodnz added the bug Something isn't working label Feb 11, 2026
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request removes a temporary workaround that was added to fix a Firefox-specific bug where the revalidation modal would immediately close when users clicked inside the iframe. The workaround disabled the ability to close the modal by clicking outside of it (shouldCloseOnClickOutside={ false }). With the upstream Gutenberg fix (PR #51602) now resolved, this workaround is no longer needed and can be safely removed.

Changes:

  • Removed the shouldCloseOnClickOutside={ false } prop from the RevalidateModal component
  • Removed associated comments explaining the temporary workaround

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown
Member

@dd32 dd32 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be safe to merge based on my understanding. We def run a newer Gutenberg version too :)

@dd32
Copy link
Copy Markdown
Member

dd32 commented Feb 11, 2026

@adamwoodnz Please note: If you want to deploy this to w.org you'll need to test everything, as the upstream two-factor has changed a bunch of stuff that might cause 2fa to break on w.org.. I'm not actually sure..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants